package com.example.port.service;

import com.example.port.entity.FeeRule;

import java.util.List;

public interface FeeRuleService {
    
    int insertFeeRule(FeeRule rule);
    
    List<FeeRule> getAllFeeRules();
    
    int deleteFeeRule(Integer ruleId);
    
    int updateFeeRule(FeeRule rule);
    
    // 检查规则是否被使用
    boolean isRuleInUse(Integer ruleId);
} 
